package com.ruozedata.bigdata.lesson03

/**
 * case class 与 class 有什么区别
 * 1) 重写： toString  ==
 *
 */
object CaseClassApp {

    def main(args: Array[String]): Unit = {
        println(Dog("PK").name)
    }
}

case class Dog(name:String)
case object CCC

class Per(name:String, age:Int) {

}